// 路由表
const routes = [{
    prefix: 'film',
    name: '电影',
    interfaces: ['getList', 'getDetail', 'findByCityId']
  },
  {
    prefix: 'city',
    name: '城市',
    interfaces: ['getList', 'switchCity']
  },
  {
    prefix: 'order',
    name: '订单',
    interfaces: ['getList', 'getDetail']
  },
  {
    prefix: 'cinema',
    name: '影院',
    interfaces: ['getList']
  },
  {
    prefix: 'user',
    name: '用户',
    interfaces: ['loginBySmsCode', 'getSmsCode', 'logout']
  }
]

module.exports = routes